package com.example.demo.lab2.service;

import com.example.demo.lab2.entity.DepWithEmp;
import com.example.demo.lab2.entity.Departments;

import java.math.BigDecimal;
import java.util.List;

public interface DepartmentsService {
    int insert(Departments department);

    int delete(BigDecimal id);

    int update(Departments department);

    List<Departments> list();

    List<DepWithEmp> listWithEmp();
}
